package dj.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * FriendGroup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "friend_group", catalog = "")
public class FriendGroup implements java.io.Serializable {

	// Fields

	private String id;
	private String groupname;
	private String userid;

	// Constructors

	/** default constructor */
	public FriendGroup() {
	}

	/** full constructor */
	public FriendGroup(String id, String groupname, String userid) {
		this.id = id;
		this.groupname = groupname;
		this.userid = userid;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "groupname", nullable = false, length = 100)
	public String getGroupname() {
		return this.groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	@Column(name = "userid", nullable = false, length = 36)
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

}